package com.firegod.group.service;

import com.firegod.group.form.TopicMessageForm;
import com.firegod.group.form.TopicMessageReplyForm;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommentService {

    String createComment(String topicId, String topicMessage);

    String createReply(String replyTopicMessage, String replyToUserId, String replyToUserName, String replyTopicMessageId, String topicId);

    List<TopicMessageForm> getTopicComment(String topicId);

    List<TopicMessageReplyForm> getReplyComment(String topicId);

    void deleteComment(String commentId);
}
